Remove unused variable in the CUPS print backend
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 19 Feb 2018 02:10:52 +0000 (02:10 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 19 Feb 2018 02:10:52 +0000 (02:10 +0000)
The variable is a leftover from when we were not using the
G_DEFINE_DYNAMIC_TYPE macro.

modules/printbackends/cups/gtkprintbackendcups.c

index 454bc86a7eb4ecb029421990f5116159eeb4d9e3..09e18b170ee3413f5462434448cd441f5cc0e5e3 100644 (file)
@@ -89,8 +89,6 @@ typedef struct _GtkPrintBackendCupsClass GtkPrintBackendCupsClass;
 #define _CUPS_MAP_ATTR_INT(attr, v, a) {if (!g_ascii_strcasecmp (attr->name, (a))) v = attr->values[0].integer;}
 #define _CUPS_MAP_ATTR_STR(attr, v, a) {if (!g_ascii_strcasecmp (attr->name, (a))) v = attr->values[0].string.text;}
 
-static GType print_backend_cups_type = 0;
-
 typedef void (* GtkPrintCupsResponseCallbackFunc) (GtkPrintBackend *print_backend,
                                                    GtkCupsResult   *result,
                                                    gpointer         user_data);